-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flag_Ext_Tele can only be cleared in exit_run_mode when motors are not being reversed (turtle mode) #178
Flag_Ext_Tele can only be cleared in exit_run_mode when motors are not being reversed (turtle mode) #178
Conversation
…t being reversed (turtle mode) Restored default DEFAULT_PGM_SAFETY_ARM setting
6f723df
to
d621580
Compare
Initial tests show this fixes the turtle bug but not the second activation in the motors tab. I would like to do some further investigation into how the these two circumstances output motor signal, and whether the the signal is not sent when the slider is at 0, in which case EDT safety disarm would be expected to trip before proceeding. I think .20.1 could be released without this merged as the current behaviour is safe. Worst case scenario the quad needs to be rearmed to reactivate turtle mode. |
Every time you need to arm the motors you will need to enable the "I understand the risk" switch button in order enable edt dshot command 13 is sent again, otherwise motor won't arm. That is normal You can test it in the cli with the commands motor and dshotprog: |
pz check behavior here: https://youtu.be/gdARJK0sleY When edt is enabled Betaflight sends command 13 when arming the kwad, so in that case It is like clicking "I understand the risk" button |
Hi, i just tested RC3 on A-X-5 target, betaflight 4.5 and Configurator 10.10.0-debugf277b27. I am still not able to run motors via motors tab. They just keep beeping. |
@Noctaro Does it happen the same using 4.4.0? |
@damosvil Did flash back to 4.4.0, now it works as expected :) Update: I also checked 4.4.3, here it does not work either. |
Can you confirm your behaviour is the same as the video above (https://youtu.be/gdARJK0sleY) Please note on the first arm, increase value through noises until motor starts spinning (should be spining by 1050 worst case). You can hover over the motor and use the arrow keys to slowly increase it |
@hyp0dermik-code yes i can confirm the same behaviour. Motors start running one time, then beep if i try to restart them until i reengage the "i know what i am doing" switch. Motors start running at 1010 |
@Noctaro that is the normal behaviour. I have tested It in my kwad with bf4.4.0 some days ago. It works as intended after turtling. Please could you try on your side? |
@damosvil
Everything worked as it should. Also Turtlemode does not need the rearming procedure, it works as intended. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed that this fixes the bug described. Also thanks to Damosvil for the explanation, this flag should not be cleared until https://github.com/bird-sanctuary/bluejay/blob/80bd58803c50c0a9820634c2293101e299603e02/src/Bluejay.asm#L1073C22-L1073C22
at the earliest
Flag_Ext_Tele can only be cleared in exit_run_mode when motors are not being reversed (turtle mode)
That step is done in the lowest part of exit_run_mode